<?php
class ForgetPwForm extends CFormModel
{
	public $email;

	public function rules()
	{
		return array(
			array('email', 'required'),
			array('email', 'email'),
		);
	}

	/**
	 * Declares attribute labels.
	 */
	public function attributeLabels()
	{
		return array(
			'email'=>Yii::t('users','email'),
		);
	}
	
	public function send(){
		//发送临时密码到用户邮箱
		return true;
	}
}
